package com.rmi.service;

import org.springframework.stereotype.Component;

import com.api.IProductService;
import com.rmi.anno.client.Remote;

@Component
public class ProductService {
	@Remote
	private IProductService productService;
	public void query() {
		System.out.println(productService.query("xxxxx"));
	}
}
